<template>
  <div class="perOffice-container">

  </div>
</template>
<script>
import { Icon, Toast, NavBar, Tabbar, TabbarItem } from 'vant';
export default {
  components: { [Icon.name]: Icon, [NavBar.name]: NavBar, [Tabbar.name]: Tabbar, [TabbarItem.name]: TabbarItem },
  data() {
    return {
      active: 0,
      title: '首页',
      tabar: false,
    };
  },

  created() {
    this.initAjaxMethod();
    this.id = this.$route.query.id;//作业id
  },
  methods: {
    initAjaxMethod() {
      const toast = this.$toast.loading("加载中...");
      this.$http
        .post(this.$API.SET_PEROFFICE_NOTEDETAIL,{id:this.id})
        .then((res) => {
          toast.clear();
          if (res.code == 1) {
            this.noteList = Array.isArray(res.not_list) ? res.not_list : [];
            //  this.role_file=res.role_file || 0;
            //  this.role_agent=res.role_agent || 0;
          }
        });
    },
  }
};
</script>

<style lang="less">
.perOffice-container {}
</style>